<?php
/**
 * notes _list component view.
 *
 * @package    FinalsClub
 * @subpackage notes
 * @author     Colin Hom
 */?>
<?php use_helper('Pagination', 'Note') ?>
<?php slot('coursesNav', 'active') ?>
<div class="courses" id="wrapper">
	<?php include_partial('global/systemMessages') ?>
	<div id="content">
		<div id="main">			
			<div class="main-heading">
				<h1><?= $group->getName() ?></h1>
			</div>
			<?php include_partial('groups/subnav',array("group_id" => $group_id, "current" => "Notes")) ?>
			<div class="filter-links with-icon">
				<ul class="book inline">
					<li>Group Courses</li>
				</ul>
			</div>
			<ul class="courses-list">
				<?php
				include_component('notes','list', array('page' => $page,'group_id' => $group_id, 'course' => $course_id));
				?>
			</ul>	
		</div>
		<div id="sidebar">

			<div class="module study-groups">
				<h3 class="gradient light">Contribute To This Course</h3>
				<div class="inner">
					<ul>
						<li>
							<h4>
								<?php echo link_to('Post Your Course Notes', 'notes/new?course_id='.$this->course_id)?>
							</h4>
						</li>
					</ul>
				</div>
			</div>
							
			<?php include_component('group_members', 'pending', array('group_id' => $group_id))?>
			<?php include_component('group_members', 'list', array('group_id' => $group_id))?>
		</div>
	</div>

</div>				